package com.ykg.mapper;

import com.ykg.pojo.Owner;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 *
 * Dao:货主
 * Created on 8:49 2021/6/22.
 *
 * @Author: laobian
 * @Description:
 */
@Mapper
@Repository
public interface OwnerMapper {
    //通过id获取货主基本信息
    Owner findOwnerById(Long id);

    //通过用户名和密码来寻找货主
    Owner findOwnerByNP(Map<String,Object> map);


}
